const state = {
  /* 用户权限 0未登录 1已登录 */
  identity: sessionStorage.getItem('identity') ? parseInt(sessionStorage.getItem('identity')) : 0,
  token: sessionStorage.getItem('token') ? sessionStorage.getItem('token') : null, // cookie.getCookie("token"),
  menus: [],
  editor: [],
  returnHistory: '/index',
  adminIdentify: false
}

export default state
